package com.wondertek.service.sdk.iotdh.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class Power {
    @NotBlank
    @Schema(name = "batteryPercent",description = "电池电量百分⽐0~100")
    private Integer batteryPercent;

    @NotBlank
    @Schema(name = "powerType",description = "供电类型 0-电源适配器; 1-电池;2-电池+电源适配器")
    private Integer powerType;
}
